import request from '@/utils/request'

// 查询收藏列表
export function listAssets_collect(query) {
  return request({
    url: '/ora/assets_collect/list',
    method: 'get',
    params: query
  })
}

// 查询收藏详细
export function getAssets_collect(id) {
  return request({
    url: '/ora/assets_collect/' + id,
    method: 'get'
  })
}

// 新增收藏
export function addAssets_collect(data) {
  return request({
    url: '/ora/assets_collect',
    method: 'post',
    data: data
  })
}

// 修改收藏
export function updateAssets_collect(data) {
  return request({
    url: '/ora/assets_collect',
    method: 'put',
    data: data
  })
}

// 删除收藏
export function delAssets_collect(id) {
  return request({
    url: '/ora/assets_collect/' + id,
    method: 'delete'
  })
}
